from django.urls import path
from . import views as  course_views
# 可定义模块的名字
app_name = 'course_app'

# 定义该模块下的路由
urlpatterns = [
    path('list', course_views.course_list, name='course_list'),
    path('detail/<int:id>', course_views.course_detail, name='course_detail'),
]